//存储token
export const setToken = (token: string) => {
    localStorage.setItem('TOKEN', token)
}

//获取token
export const getToken = (): string => {
    return localStorage.getItem('TOKEN') || ''
}

//清除本地存储的token
export const removeToken = () => {
    localStorage.removeItem('TOKEN')
}
